home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
cool
/
cool.lha
/
ice
/
README.sparc
< prev
Wrap
Text File
|
1991-09-04
|
2KB
|
74 lines
This file includes instructions for building ICE on SPARC platforms.
0. Get a copy of ICE files.
Here is one way:
cd ICE # ICE here means the full pathname to the ice directory
make -f util/Makefile_tar tarfile_cool # creates COOL tar file
1. Bootstrap
cd ICE # ICE here means the full pathname to the ice directory
util/sparcsetup
set path=(/ICE/bin $path) # set path to include /ICE/bin and rehash
[ if maintaining RCS on ICE do:
cd ICE/cool/config
cp sparc_rcs.cf sparc.cf ]
cd ICE
pimake -Dsparc -DTOPDIR=/ICE -DREV=1 -I/ICE/cool/config
make bootstrap
2. Build ICE
*************************************************************************
Note: ICE assumes AT&T cfront 2.0 with:
CC2 C++ compiler
/usr/include/CC2 C++ include directory
cfront2 cfront translator
patch2 patch program
-lC2 C++ library name
If these names are wrong on your sparc system you need to either
link the correct names to the names ICE requires ...
or set environment variables: cfrontC (cfront2), patchC (patch2),
LIBRARY (-lC2)
or edit files "ICE/cool/config/sparc.cf" references to "CC2".
and edit files "ICE/CCC/config.h" references
to "cfront2", "patch2", and "-lC2".
Also in "ICE/CCC/config.h" it assumes tmp directory name of "/tmp".
*************************************************************************
cd ICE
make clean clobber
cd ICE/pisces
make all install
[ if maintaining RCS on ICE do:
cd ICE
make forcecheckout depend
(ignore errors from make depend) ]
cd ICE
make all runtest results
[ Note: some of the tests for Vector, Pair, Tree, and Set might fail. This
is due to a known problem with some versions of cfront. ]
cd ICE
chmod 444 include/*.p # The .p files should only be modified when
# compiling COOL library files;
# Before updating COOL library, do: chmod +w *.p
3. Done
ls ICE/bin
ls ICE/lib/sparc
ls ICE/include/*.p
#To remake just cool:
rm /ice/lib/sparc/libCOOL.a
cd ICE/cool
make clean clobber includes all runtest results